package cn.controller.order;

import cn.service.orderService.OrderServiceImpl.ProductInfoShowServiceImpl;
import entity.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 朱颢阳
 * @description
 * @time 2024/8/28 15:51
 */

@RestController
@CrossOrigin
@RequestMapping("/order")
public class ProductInfoShowController {
    @Autowired
    ProductInfoShowServiceImpl showServiceImpl;
    @RequestMapping("/getproductInfo")
    public Result getproductInfo(Integer order_id){
        return showServiceImpl.getproductInfo(order_id);
    }
}
